//
//  WorkFlowNode.m
//  Bus
//
//  Created by wangjiajia on 13-12-10.
//  Copyright (c) 2013年 wangjiajia. All rights reserved.
//

#import "WorkFlowNode.h"

@implementation WorkFlowNode
-(WorkFlowNode*)initwithParams:(int)nodeId
                   andNodeSite:(NSString*)nodeSite
                   andSpChoice:(NSString*)spChoice
                andJbrObjectId:(NSString*)jbrObjectId
              andJbrObjectName:(NSString*)jbrObjectName
               andJbbmObjectId:(NSString*)jbbmObjectId
             andJbbmObjectName:(NSString*)jbbmObjectName
               andJbjsObjectId:(NSString*)jbjsObjectId
             andJbjsObjectName:(NSString*)jbjsObjectName{
    
    WorkFlowNode* workFlowNode=[[WorkFlowNode alloc] init];
    workFlowNode.nodeId=nodeId;
    workFlowNode.nodeSite=nodeSite;
    workFlowNode.spChoice=spChoice;
    workFlowNode.jbrObjectId=jbrObjectId;
    workFlowNode.jbrObjectName=jbrObjectName;
    workFlowNode.jbbmObjectId=jbbmObjectId;
    workFlowNode.jbbmObjectName=jbbmObjectName;
    workFlowNode.jbjsObjectId=jbjsObjectId;
    workFlowNode.jbjsObjectName=jbjsObjectName;
    
    return workFlowNode;
}
@end
